A Note on (Parallel) Depth- and Breadth-First Search by Arc Elimination
نویسنده
چکیده
This note recapitulates an algorithmic observation for ordered Depth-First Search (DFS) in directed graphs that immediately leads to a parallel algorithm with linear speed-up for a range of processors for non-sparse graphs. The note extends the approach to ordered Breadth-First Search (BFS). With p processors, both DFS and BFS algorithms run in O(m/p + n) time steps on a shared-memory parallel machine allowing concurrent reading of locations, e.g., a CREW PRAM, and have linear speed-up for p ≤ m/n. Both algorithms need n synchronization steps.
منابع مشابه
Breadth-Depth Search is P-Complete
The parallel complexity of a search strategy that combines attributes of both breadth-rst search and depth-rst search is studied. The search called breadth-depth search was deened by Horowitz and Sahni. The search technique has applications in branch-and-bound strategies. Kindervater and Lenstra posed the complexity of this type of search strategy as an open problem. We resolve their question b...
متن کاملA Greedy Approach to Establish Singleton Arc Consistency
In this paper, we propose a new approach to establish Singleton Arc Consistency (SAC) on constraint networks. While the principle of existing SAC algorithms involves performing a breadth-first search up to a depth equal to 1, the principle of the two algorithms introduced in this paper involves performing several runs of a greedy search (where at each step, arc consistency is maintained). It is...
متن کاملComputing with Snakes in Directed Networks of Automata (Extended Abstract)
We consider unidirectional, strongly connected networks of identical finite-state automata, of bounded inand out-degree but unknown topology and unbounded size n. Protocols which are quadratic or linear in n are provided which accomplish the following tasks: wake-up and report when done; construct spanning trees out from the root and in to the root; conduct breadth-first and depth-first searche...
متن کاملCombining depth-first and breadth-first search in Prolog execution
A new model for the execution of Prolog programs, called MEM (Multipath Execution Model), which combines a depth-first and breadth-first exploration of the search tree is presented. The breadth-first search allows more than one path (multiple potential solutions) to be explored at the same time. In this way, the computational cost of traversing the whole search tree associated to a program can ...
متن کاملUne approche gloutonne pour établir la singleton consistance d ’ arc Stéphane
In this paper, we propose a new approach to establish Singleton Arc Consistency (SAC) on constraint networks. While the principle of existing SAC algorithms involves performing a breadth-first search up to a depth equal to 1, the principle of the two algorithms introduced in this paper involves performing several runs of a greedy search (where at each step, arc consistency is maintained). It is...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- CoRR
دوره abs/1305.1222 شماره
صفحات -
تاریخ انتشار 2013